package ${package.outputDTOClassPackage};

<#if swaggerFlag>
import io.swagger.annotations.ApiModelProperty;
</#if>
import ${package.entityClassPackage};
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 表 名： ${tableName}
 * 注 释： ${tableComment} 输出dto
 *
 * @author ${author}
 * @date ${createDate}
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ${entity}OutputDTO implements Serializable {

    <#if swaggerFlag>
    @ApiModelProperty("${tableComment}数据")
    <#else>
    /**
     * ${tableComment}数据
     */
    </#if>
    private List<${entity}> ${entity?uncap_first}List;

    <#if swaggerFlag>
    @ApiModelProperty("总数")
    <#else>
    /**
     * 总数
     */
    </#if>
    private Long total;
}